package net.maku.talent.convert;

import net.maku.talent.entity.HonorCommunityEntity;
import net.maku.talent.vo.HonorCommunityVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 集体荣誉
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-21
*/
@Mapper
public interface HonorCommunityConvert {
    HonorCommunityConvert INSTANCE = Mappers.getMapper(HonorCommunityConvert.class);

    HonorCommunityEntity convert(HonorCommunityVO vo);

    HonorCommunityVO convert(HonorCommunityEntity entity);

    List<HonorCommunityVO> convertList(List<HonorCommunityEntity> list);

}